package spring.domain;


import java.util.Date;

public class UserLog {
    private String name;
    private String ip;
    private Date time;

    public UserLog() {
    }

    @Override
    public String toString() {
        return "UserLog{" +
                "name='" + name + '\'' +
                ", ip='" + ip + '\'' +
                ", time=" + time +
                '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public UserLog(String name, String ip, Date time) {
        this.name = name;
        this.ip = ip;
        this.time = time;
    }

}
